import request from '@/utils/request';
import bodyParse from '@/utils/bodyParse';

export async function queryCurrent() {
  return request('/vehicle-api/wechat/user');
}

export async function companies() {
  return request('/vehicle-api/wechat/customers/user/companies');
}

export async function serviceinfo(params) {
  return request(
    '/vehicle-api/wechat/customers/user/service_info' + bodyParse(params),
  );
}
